<?php


namespace app\index\controller;

use think\Request;

/**
 * 空控制器
 * Class Error
 * @package app\index\controller
 */
class Error
{

    public function index(Request $request)
    {
        $controller = $request->controller();
        return $this->showCity($controller);
    }

    private function showCity($name)
    {
        return '当前控制器不存在' . $name;
    }
}